<?php

namespace app\model;
use think\model\concern\SoftDelete;
use app\utils\NumText;
class TaskCategory extends BaseModel
{
    use SoftDelete;
    protected $deleteTime = 'delete_at';
    protected $table = 'task_category';

    public function getStatusTextAttr($value,$data)
    {
        return NumText::statusText($data['status']??'');
    }


}
